package com.qf.fegin;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@FeignClient("OPENAPI-CACHE")
public interface RedisService {

    @PostMapping("/cache/hupdate/{key}")
    public void hupdate(@PathVariable(value = "key") String key, @RequestBody Map fieldValue);

}
